package com.itheima.a02oopextendsdemo02;

/***
 *@title Test
 *@description <TODO description class purpose>
 *@author 12468
 *@version 1.0.0
 *@create 2024/10/18 23:19
 **/
public class Test {
    public static void main(String[] args) {
        Son son = new Son();
        son.isShow();
    }
}

class Fu {
    String name = "fu";
}

class Son extends Fu {
    String name = "zi";
    public void isShow() {
        String name = "isSHow";
        System.out.println(name);  // isSHow
        System.out.println(this.name); // zi
        System.out.println(super.name); // fu
    }
}
